<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="/views/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="/views/include/nocachehead.jsp"%>
<title>通过E-mail找回密码</title>
<script type="text/javascript">
	function resend(emailValue) {
		var email = document.getElementById("email");
		email.value = emailValue;
		var resendForm = document.getElementById("resendForm");
		resendForm.submit();
	}
</script>
</head>
<body>
<form id="resendForm"  action="${pageContext.request.contextPath}/user/password/find.html" method="post"> 
	<input type="hidden" id="email" name="email"/>
	<input type="hidden" id="findType" name="findType" value="0"/>
	
</form>
<c:set var="errorMessage" scope="page" value="${requestScope.errorMessage}" />
<c:set var="message" scope="page" value="${requestScope.message}" />
<c:set var="email" scope="page" value="${requestScope.email}" />
<c:if test="${errorMessage ne null }">
${errorMessage}<br>
您请可以通过点击此处再次尝试找回密码。
</c:if>
<c:if test="${errorMessage eq null }">
${message}<br>
如果您还没有收到邮件 ，您可以点击<a href ="#" onclick="javascript:resend('${email }');">此处</a>再次发送邮件。
</c:if>
</body>
</html>